The data stores in the database is correct, I just read it out with $topic = Topics::findFirstById($id)
and output it with {{ topic.content }}
, then the content between "<" and ">" disappear
For example, in database content( the content is some code,including the first line):
` ``cpp
#include <iostream>
using namespace std;
` ``
but its output is:
` ``cpp
#include
using namespace std;
` ``
the code <iostream>
disappeared! how to keep it?